package cn.itsource.hrm.mapper;

import cn.itsource.hrm.domain.LoginUser;
import com.baomidou.mybatisplus.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author gwkge
 * @since 2021-04-16
 */
public interface LoginUserMapper extends BaseMapper<LoginUser> {

    LoginUser selectUserByName(String username);

    List<String> selectPermissionByUser(Long userId);
}
